package com.example.asus.drawstudy.activtiy;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;

import com.example.asus.drawstudy.R;
import com.example.asus.drawstudy.view.SpringProgressView;

/**
 * 线型进度条
 */
public class ProgressViewActivity extends AppCompatActivity {


    private SpringProgressView progressView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_progressview);
        progressView = findViewById(R.id.spring_view);
        progressView.setCurrentCount(30);
        progressView.setMaxCount(100);
    }
}
